Skip to main content

revXMLRPC_SetPath

Type

command

Summary

Sets the path in an XML-RPC document structure.

Syntax

revXMLRPC_SetPath <XMLRPCdocumentID>, <filePath>

Description

Use the revXMLRPC_SetMethod command to set the path of the resource to be called upon execution of an existing XML-RPC document.

Where the path of the XML-RPC document tells the server which resource will handle the request, the method name tells that resource which method is being called specifically within that resource.

Parameters

NameTypeDescription

XMLRPCdocumentID

integer

The number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request.

filePath

string

Usually a file path, which allows the host to determine which resource handles your request.

Examples

revXMLRPC_SetMethod theRequest,"sample.elizabethanInsult"

command: revXMLRPC_SetMethod

function: revXMLRPC_GetPath, result, revXMLRPC_CreateRequest

glossary: LiveCode custom library, Standalone Application Settings, standalone application, command, XML-RPC document

library: XML-RPC library

Compatibility and Support

Introduced

LiveCode 2.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?